package com.tanavlog.common.utils;


import cn.hutool.captcha.generator.RandomGenerator;

/**
 * @author 枫花恋
 * @description 验证码生成器
 * @since 2025/8/4 22:20
 */
public class CodeGeneratorUtil {
    private static final RandomGenerator RANDOM_GENERATOR = new RandomGenerator("0123456789", 6);
    public static String getEmailVerifyCode() {
        return RANDOM_GENERATOR.generate();
    }
}
